package com.ss.android.article.share.c;

import android.graphics.Bitmap;

import com.ss.android.image.AvatarLoader;
import com.ss.android.image.BaseImageManager;

final class c extends AvatarLoader.BaseTransformer {
    private final int halfSize;

    c(int roundCornerPixel, int r) {
        super(roundCornerPixel, true);
        this.halfSize = r;
    }

    public final Bitmap transform(Bitmap bitmap) {
        return BaseImageManager.createRoundBitmap(bitmap, this.halfSize);
    }
}

